package com.tidc.consumer9001.api;

import com.tidc.consumer9001.fallback.ApiFallbaskFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassNmae ProviderApi
 * @Description TODO
 * @Author 14631
 **/
@FeignClient(name = "PROVIDER-8001",fallbackFactory = ApiFallbaskFactory.class)
public interface ProviderApi {
	@GetMapping("/test/{id}")
	public String get(@PathVariable("id") int id);
}
